﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><s:text name="login.title"/></title>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
.loginbody{background:url(${ctx}/images/main/lgoinbg.gif) repeat-x;}
</style>
<script type="text/javascript">
		 /**
		重新取得验证代码
		*/
		var count =1;
		function fetchCheckCodeImg(object){
		    object.src = '${ctx}/img?serialVersionUID='+count;
		    count++;
		}
		
		function userRegister(){
		window.location="${ctx}/user/user!preCreateUser.action?user.userFlag=2"
		}
	
</script>
</head>

<body class="loginbody">
<form action="${ctx}/index/user_login.action" method="post">
	<div id="login">
		<ul><li class="log_t">
		<s:if test="face.bannerText!=null">
		<s:property value="face.bannerText"></s:property>
		</s:if>
		<s:else>
		信息管理系统
		</s:else>
		</li>
		<li class="log_d">
			<div class="log_c">${info}</div>
			<div>
				<ul><li>
				<input type="hidden" name="request_locale" value="zh_CN"/><!-- 用于struts2拦截器国际化 -->
				<input type="hidden" name="tlds_locale" value="zh_CN"/><!-- 用于自定义标签国际化 -->
				<li><s:text name="login.name"/>：<input type="text" class="log_put" name="user.userLogin" maxlength="50"></li>
				<li><s:text name="login.password"/>：<input type="password" class="log_put" name="user.userPwd" maxlength="50"></li>
				<li><s:text name="login.code"/>：<input type="text" class="log_put2" name="code"></li>
				<li><input type="submit" value="<s:text name='login.login'/>" class="log_f" />　
				<input type="reset" value="<s:text name='login.reset'/>" class="log_f" onClick="javascript:window.close();"/></li></ul>
			</div>
		<div class="log_i"><img src="${ctx}/img" id="checkImg" alt="<s:text name="login.change.one"/>" onClick="fetchCheckCodeImg(this);" style="cursor: pointer;"  align="middle" /></div>
		</li>
		<li class="log_b">
         <s:if test="face.statusText!=null">
			<s:property value="face.statusText"></s:property>
		</s:if>
		<s:else>
			版权所有：安徽天津商会
		</s:else>
       </li></ul>
	</div>
	
</form>
</body>
</html>